package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50);comment:用户名"`
	Password string `gorm:"type:varchar(50);comment:密码"`
}
type Article struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50);comment:标题"`
	Content string `gorm:"type:varchar(50);comment:内容"`
	Author  string `gorm:"type:varchar(50);comment:作者"`
}
